package com.cencat.route.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 路线查询条件VO
 * 
 * @author cencat
 * @version 1.0
 * @since 2024-01-01
 */
@Data
@Schema(description = "路线查询条件")
public class RouteQueryVO {

    @Schema(description = "路线名称")
    private String routeName;

    @Schema(description = "路线编码")
    private String routeCode;

    @Schema(description = "起始地址")
    private String startAddress;

    @Schema(description = "目的地址")
    private String endAddress;

    @Schema(description = "路线类型")
    private String routeType;

    @Schema(description = "路线状态")
    private String routeStatus;

    @Schema(description = "优先级")
    private String priority;

    @Schema(description = "司机ID")
    private Long driverId;

    @Schema(description = "车辆ID")
    private Long vehicleId;

    @Schema(description = "最小距离（公里）")
    private BigDecimal minDistance;

    @Schema(description = "最大距离（公里）")
    private BigDecimal maxDistance;

    @Schema(description = "最小预计时长（分钟）")
    private Integer minEstimatedDuration;

    @Schema(description = "最大预计时长（分钟）")
    private Integer maxEstimatedDuration;

    @Schema(description = "最小费用")
    private BigDecimal minRouteCost;

    @Schema(description = "最大费用")
    private BigDecimal maxRouteCost;

    @Schema(description = "最小载重量（吨）")
    private BigDecimal minCargoWeight;

    @Schema(description = "最大载重量（吨）")
    private BigDecimal maxCargoWeight;

    @Schema(description = "计划开始时间-开始")
    private LocalDateTime plannedStartTimeBegin;

    @Schema(description = "计划开始时间-结束")
    private LocalDateTime plannedStartTimeEnd;

    @Schema(description = "计划结束时间-开始")
    private LocalDateTime plannedEndTimeBegin;

    @Schema(description = "计划结束时间-结束")
    private LocalDateTime plannedEndTimeEnd;

    @Schema(description = "实际开始时间-开始")
    private LocalDateTime actualStartTimeBegin;

    @Schema(description = "实际开始时间-结束")
    private LocalDateTime actualStartTimeEnd;

    @Schema(description = "实际结束时间-开始")
    private LocalDateTime actualEndTimeBegin;

    @Schema(description = "实际结束时间-结束")
    private LocalDateTime actualEndTimeEnd;

    @Schema(description = "创建开始时间")
    private LocalDateTime createStartTime;

    @Schema(description = "创建结束时间")
    private LocalDateTime createEndTime;

    @Schema(description = "更新开始时间")
    private LocalDateTime updateStartTime;

    @Schema(description = "更新结束时间")
    private LocalDateTime updateEndTime;

    @Schema(description = "创建人ID")
    private Long createdBy;

    @Schema(description = "更新人ID")
    private Long updatedBy;

    @Schema(description = "是否删除")
    private Boolean deleted;

    @Schema(description = "关键字搜索（路线名称、编码、起始地址、目的地址）")
    private String keyword;

    @Schema(description = "排序字段")
    private String sortField;

    @Schema(description = "排序方向（ASC/DESC）")
    private String sortOrder;

}